getRoleValue

abstract fun getRoleValue(): Int

Indicates that the user's role in the mesh
.meshtastic.Config.DeviceConfig.Role role = 7;

Return

The enum numeric value on the wire for role.